package com.quarantine.model;

import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.Table;

import com.quarantine.listener.AuditableEntity;

@Entity
@Table(name = "newsphoto")
public class newsphoto extends AuditableEntity {
	      
	        private String title; // 标题
			private String details; // 详细信息
			private String picturepath; // 图片路径
			private int clickrate;   //阅读量
			private String showred;//展示字体红色
			private String shownew;//展示字体new字样
			public String getShowred() {
				return showred;
			}

			public void setShowred(String showred) {
				this.showred = showred;
			}

			public String getShownew() {
				return shownew;
			}

			public void setShownew(String shownew) {
				this.shownew = shownew;
			}

			public String getTitle() {
				return title; 
			}

			public void setTitle(String title) {
				this.title = title;
			}

			@Lob
			public String getDetails() {
				return details;
			}

			public void setDetails(String details) {
				this.details = details;
			}

			public String getPicturepath() {
				return picturepath;
			}

			public void setPicturepath(String picturepath) {
				this.picturepath = picturepath;
			}

			public int getClickrate() {
				return clickrate;
			}

			public void setClickrate(int clickrate) {
				this.clickrate = clickrate;
			}
}
